package com.data.dao

import com.data.bean.IndexAdmin
import com.data.bean.IndexCase
import com.data.bean.Theme
import com.data.bean.ThemeClass
import com.data.entity.ThemeAdminEntity
import com.data.entity.ThemePage
import org.apache.ibatis.annotations.Param
import org.springframework.stereotype.Repository

@Repository
interface IndexDao {
    fun indexBannerDao(@Param("type") type: Int): List<IndexAdmin>
    fun indexCaseDao(): List<IndexCase>
    fun caseClassDao(): List<ThemeClass>
    fun themeCaseDao(@Param("themePage") themePage: ThemePage): List<ThemeAdminEntity>
    fun claxxNumDao(@Param("cid") cid: String): List<ThemeAdminEntity>
}